package com.kern.academic.dto;

import lombok.Data;

/**
 *  角色信息关联其权限 DTO
 * Created by caoshi at 21:07 2021-08-24
 */
@Data
public class RoleInfoDTO {

    private String roleId;          // 角色ID
    private String roleName;        // 角色名称
    private String roleDesc;        // 角色描述
    private String rightsId;        // 权限ID
    private String rightsName;      // 权限名称
    private String rightsDesc;      // 权限描述
    private Integer rightsLevel;    // 权限等级
    private String rightsCode;      // 权限码
    private String rigroupId;       // 权限组ID
    private String riGroupName;     // 权限组名

    public RoleInfoDTO(String roleId, String roleName, String roleDesc,
                       String rightsId, String rightsName, String rightsDesc,
                       Integer rightsLevel, String rightsCode, String rigroupId, String riGroupName) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleDesc = roleDesc;
        this.rightsId = rightsId;
        this.rightsName = rightsName;
        this.rightsDesc = rightsDesc;
        this.rightsLevel = rightsLevel;
        this.rightsCode = rightsCode;
        this.rigroupId = rigroupId;
        this.riGroupName = riGroupName;
    }

    public RoleInfoDTO() {
    }

}
